﻿using System.ComponentModel.DataAnnotations;

namespace OA.Model
{
    public class CallBackInfo
    {
        public int ID { get; set; }

        public int CustomID { get; set; }

        public int FormID { get; set; }

        [MaxLength(100)]
        public string Url { get; set; }

        /// <summary>
        /// 0:未回调  1:已回调成功 2:回调错误
        /// </summary>
        public int Status { get; set; }

        [MaxLength(1000)]
        public string Result { get; set; }


        public int ErrorCount { get; set; }

        /// <summary>
        /// 强制更新
        /// </summary>
        public bool Force { get; set; } = false;


    }
}
